<template>
  <div>
    <el-timeline style="height:184px;" :reverse="reverse">
      <el-timeline-item
        v-for="(activity, index) in activities"
        :key="index"
        :timestamp="activity.timestamp"
      >
        <div style="text-align:left;">{{ activity.content }}</div>
      </el-timeline-item>
    </el-timeline>
  </div>
</template>

<script>
export default {
  props: {

  },
  data() {
    return {
      reverse: true,
      activities: [
        {
          content: '活动按期开始',
          timestamp: '2018-04-15 11:36:54'
        },
        {
          content: '通过审核',
          timestamp: '2018-04-13 11:36:54'
        },
        {
          content: '创建成功',
          timestamp: '2018-04-11 11:36:54'
        }
      ]
    };
  },
  methods: {

  }
};
</script>
<style lang='scss' scoped>
.el-timeline-item {
  height: 64px;
}
.el-timeline {
  padding: 0px 0px 0px -24px;
}
</style>
